#!/usr/bin/env python
# -*- coding: utf-8 -*-
#===============================================================================
# Copyright 2011 zod.yslin
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# 
# Author: zod.yslin
# Email: 
# File Name: exception_changed.py
# Description: 
#   1. PEP 352 -- Required Superclass for Exceptions
#   2. PEP 3109 -- Raising Exceptions in Python 3000 (see syntax_changed)
#   3. PEP 3110 -- Catching Exceptions in Python 3000 (see syntax_changed)
#   4. PEP 3134 -- Exception Chaining and Embedded Tracebacks (see syntax_changed)
# Edit History: 
#   2011-10-31    File created.
#===============================================================================

#===============================================================================
#   1. PEP 352 -- Required Superclass for Exceptions (BaseException)
#      All exceptions must be derived (directly or indirectly) from BaseException. 
#===============================================================================
#help(BaseException)
import inspect
print(inspect.getmro(ArithmeticError))
print(inspect.getmro(BaseException))

#===============================================================================
#===============================================================================
